package com.lin.annotationtest.testclass;

import static org.junit.Assert.*;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.lin.annotationtest.User;

public class AnnotaionTest {
	private Logger logger = LoggerFactory.getLogger(this.getClass());
	@Test
	public void test() {
		User user = new User(2,"liSi");
		user.printAnnotationMessage();
		try{
			User u = null;
			//System.out.println(u.getName());
			System.out.println(System.getProperty("java.io.tmpdir"));
		} catch (Exception e) {
			logger.error("*****************测试annotation****************:",e);
		}
	}

}
